//
//  DetailBaseViewController.m
//  Go!
//
//  Created by rimi on 16/7/12.
//  Copyright © 2016年 黄秋燕. All rights reserved.
//

#import "DetailBaseViewController.h"

@interface DetailBaseViewController ()

@end

@implementation DetailBaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationController.navigationBar.hidden = NO;
    self.view.backgroundColor = ColorWith(232, 232, 232);
    
    // 返回按钮属性
    _backItem = [[UIBarButtonItem alloc] initWithImage:[[UIImage imageNamed:@"返回按钮-55"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] style:UIBarButtonItemStylePlain target:self action:@selector(clickBackItem)];
    self.navigationItem.leftBarButtonItem = _backItem;
}

#pragma mark --返回按钮监听
- (void)clickBackItem {
    [self.navigationController popViewControllerAnimated:YES];
}
@end
